package com.ccdc.cbpc.bigdata.api.demo.client;

import com.ccdc.cbpc.bigdata.open.common.constants.CbpcServerHost;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "${cbdc.feign.demo.server:"+ CbpcServerHost.DEMO+"}", path = "/demo")
public interface DemoClient {
    @GetMapping("/test")
    public String test();
}
